package com.baomidou.springboot.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springboot.entity.Quality;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 质量管理体系 Mapper 接口
 * </p>
 *
 * @author QQQ
 * @since 2018-06-19
 */
public interface QualityMapper extends BaseMapper<Quality> {

    List<Quality> findByDateDesc(Page<Quality> page, @Param("search") String search);

    List<Quality> findBySort();

}
